﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NfsModel
{
	/// <summary>
	/// sq_authorization:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class sq_authorization
	{
		public sq_authorization()
		{}
		#region Model
		private int _id;
		private int? _agency_id;
		private DateTime? _start_time;
		private DateTime? _end_time;
		private string _state;
		private int? _valid;
		private DateTime? _time;
		/// <summary>
		/// auto_increment
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? agency_id
		{
			set{ _agency_id=value;}
			get{return _agency_id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? start_time
		{
			set{ _start_time=value;}
			get{return _start_time;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? end_time
		{
			set{ _end_time=value;}
			get{return _end_time;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string state
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? valid
		{
			set{ _valid=value;}
			get{return _valid;}
		}
		/// <summary>
		/// 
		/// </summary>
		public DateTime? time
		{
			set{ _time=value;}
			get{return _time;}
		}


        //////添加的冗余属性
        /// <summary>
        /// 经销商名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 所属列别名称
        /// </summary>
        public string level_name { get; set; }
        /// <summary>
        /// 所属类别id
        /// </summary>
        public int? level_id { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 授权图片
        /// </summary>
        public string sq_img { get; set; }


		#endregion Model

	}
}

